-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.1.0
-
Code
-
Classes
- ShortPixelLogger
Total Complexity |
71 |
Dependencies |
2 |
Dependents |
7 |
Total lines |
383 |
Lines of code |
248 |
Logical lines of code |
141 |
Comment lines |
38 |
Methods |
24 |
Properties |
16 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
A |
45 |
14 |
41 |
addLog() |
A |
50 |
9 |
28 |
getWriteFile() |
S |
52 |
7 |
26 |
formatLine() |
S |
54 |
7 |
21 |
write() |
S |
55 |
5 |
18 |
initView() |
S |
58 |
5 |
14 |
monitorHooks() |
S |
62 |
4 |
10 |
loadView() |
S |
58 |
2 |
15 |
getEnv() |
S |
67 |
2 |
9 |
getInstance() |
S |
69 |
2 |
7 |
setLogLevel() |
S |
81 |
1 |
3 |
addError() |
S |
72 |
1 |
5 |
addWarn() |
S |
72 |
1 |
5 |
setLogPath() |
S |
76 |
1 |
4 |
addInfo() |
S |
72 |
1 |
5 |
addDebug() |
S |
72 |
1 |
5 |
addTemp() |
S |
79 |
1 |
3 |
logLevel() |
S |
73 |
1 |
5 |
getLogLevel() |
S |
75 |
1 |
4 |
isManualDebug() |
S |
75 |
1 |
4 |
getLogPath() |
S |
75 |
1 |
4 |
debugIsActive() |
S |
75 |
1 |
4 |
logHook() |
S |
71 |
1 |
5 |
addWarning() |
S |
79 |
1 |
3 |